<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="com.java.model.UserSession;"%>
<%

	request.setCharacterEncoding("utf-8"); 

	UserSession usersession = (UserSession)session.getAttribute("user");
	if(usersession == null){
		out.println("<script>");
		out.println("alert('장시간 사용하지 않아  정보가 초기화 되었습니다. 다시 로그인 하시기 바랍니다.')");
		out.println("try{");	
		out.println("opener.document.location.href('/index.jsp');");	
		out.println("self.close();");	
		out.println("}catch(e){");	
		out.println("location.href('/index.jsp');");	
		out.println("}");	
		//out.println("location.href('/index.jsp')");
		out.println("</script>");
		//throw new Exception("로그인이 필요한 페이지 입니다");
	}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>교육담담자 시스템</title>
<link href="/libHRD/css/common.css" rel="stylesheet" type="text/css" />
<link href="/libHRD/css/calendar.css" rel="stylesheet" type="text/css" />
<script src="/js/flash.js" type="text/javascript"></script>
<script src="/js/choosedate.js" type="text/javascript"></script>
</head>